/**
 * 
 */
package com.ms.service.module.baccarat.dm;

import com.xpec.c4.game.cronjob.CronTaskTimer;

/**
 * 定時執行載入白名單列表
 * 
 * @author TW15010
 */
public class BacrLoadWhiteListCronTask extends CronTaskTimer {
	/**
	 * 百家樂 doorman module 實體
	 */
	private BacrDmModule srcModule;

	@Override
	public void execute() throws Exception {
		BacrLoadWhiteListAsync task = new BacrLoadWhiteListAsync();
		task.setSrcModule(srcModule);
		srcModule.addAsyncCommand(task);
	}

	public void setSrcModule(BacrDmModule srcModule) {
		this.srcModule = srcModule;
	}

	public BacrDmModule getSrcModule() {
		return srcModule;
	}
}
